package org.ikit.twitter;

public class TweepObject implements Comparable{

	String name;
	int id;
	String profileImageURL;
	
	int tweetCount = 0;
	int messageCount = 0;
	int rtCount = 0;
	
	public TweepObject() {
		
	}
	
	public TweepObject(String name, int id, String profileImageURL) {
		this.name = name;
		this.id = id;
		this.profileImageURL = profileImageURL;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getProfileImageURL() {
		return profileImageURL;
	}

	public void setProfileImageURL(String profileImageURL) {
		this.profileImageURL = profileImageURL;
	}

	public int getTweetCount() {
		return tweetCount;
	}

	public void setTweetCount(int tweetCount) {
		this.tweetCount = tweetCount;
	}

	public int getMessageCount() {
		return messageCount;
	}

	public void setMessageCount(int messageCount) {
		this.messageCount = messageCount;
	}

	public int getRtCount() {
		return rtCount;
	}

	public void setRtCount(int rtCount) {
		this.rtCount = rtCount;
	}

	@Override
	public int compareTo(Object arg0) {
		return this.tweetCount - ((TweepObject)arg0).getTweetCount();
	}

	public void increaseMessageCount() {
		this.messageCount++;
	}
	
	public void increaseRTCount() {
		this.rtCount++;
	}
	
	public void increaseTweetCount() {
		this.tweetCount++;
	}
}
